﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AnimationWrap : MonoBehaviour
{
    public Action<AnimationEvent> m_onAnimationEvent;

    public void OnAnimationEvent(AnimationEvent evt)
    {
        //UnityEngine.Debug.LogWarning($"----------OnAnimationEvent:{evt.stringParameter} {evt.intParameter}");
        m_onAnimationEvent?.Invoke(evt);
    }
}
